﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BaseMgr<T>where T : new()
{
    private static T instance;
    public static T GetInstance()
    {
        if (instance == null)
            instance = new T();
        return instance;
    }
}

